package com.student49.word.pojo;

public class Word {
	int id;
	String word;
	String chinese;
	int user_id;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getWord() {
		return word;
	}
	public void setWord(String word) {
		this.word = word;
	}
	public String getChinese() {
		return chinese;
	}
	public void setChinese(String chinese) {
		this.chinese = chinese;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public Word(int id, String word, String chinese, int user_id) {
		super();
		this.id = id;
		this.word = word;
		this.chinese = chinese;
		this.user_id = user_id;
	}
	public Word() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Word [id=" + id + ", word=" + word + ", chinese=" + chinese + ", user_id=" + user_id + "]";
	}
	
	
}
